home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / CW MacMindy 1.4 / Examples / Libraries / ReadMe < prev   
Encoding:
Text File  |  1995-04-21  |  1.0 KB  |  31 lines  |  [TEXT/CWIE]

  1. Rainbow Mindy Compiler Notes
  2. ----------------------------
  3.  
  4. Here's a very early version of the Symantec Project Manager 8.0.x hosted Mindy
  5. Dylan byte-code compiler. I've included Enrico Colombini's Pawns program as
  6. a demonstration. I've used the shared library versions of PPCANSI.o and PPCunix.o,
  7. so put aliases to these in your extensions folder.
  8.  
  9. Here're some things to keep in mind:
  10.  
  11. • main has to be in main.dyl. The runtime system always loads the byte codes
  12. from a resource called "main.dbc."
  13.  
  14. • You can have only 1 .dyl file per project right now. This has to do with
  15. how libraries are built. This will be improved since separate compilation
  16. is useful.
  17.  
  18. • Here's the simplest Mindy program:
  19.  
  20. define method main (argv0, #rest args)
  21.     let greetings = "Hello, world.\n";
  22.     puts(greetings);
  23. end method main;
  24.  
  25. • You can't really pass command line arguments to the running Mindy program.
  26. Eventually I'll add drop-on support, so that the command line arguments will
  27. be full path names to files that are dropped on.
  28.  
  29. Patrick C. Beard
  30. April 20, 1995
  31.